<template>
    <div >
  
<carousel :lolist="lolist"></carousel>

<!-- 角标 -->
<ul class="mui-table-view mui-grid-view mui-grid-9">
		           
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
                        <router-link to="/one/new" >
		                     <img src="../../img/menu1.png" class="wei"> 
		                    <div class="mui-media-body">新闻</div>
                            </router-link>
                            </li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
                        <router-link to="/one/PictureL">
		                    <img src="../../img/menu2.png" class="wei"> 
		                    <div class="mui-media-body">图片</div>
                            </router-link></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
                        <router-link to="/one/commodity">
		                    <img src="../../img/menu3.png" class="wei"> 
		                    <div class="mui-media-body">商品</div>
                            </router-link></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
		                    <img src="../../img/menu4.png" class="wei"> 
		                    <div class="mui-media-body">美食</div></a></li>
		            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
		                    <img src="../../img/menu5.png" class="wei"> 
		                    <div class="mui-media-body">睡觉</div></a></li>
		           <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
		                   <img src="../../img/menu6.png" class="wei"> 
		                    <div class="mui-media-body">设置</div></a></li>
		        </ul> 
    </div>
</template>
<script>
import  carousel  from "../cniues/arousel.vue";

export default {

     data() {
        return {
         lolist:[],
     }
    },
     created(){
     this.getlunbo();
     
    } ,
     methods:{
        getlunbo(){
            this.$http.get("api/getlunbo").then( erkag =>{
             if (erkag.body.status==0) {
        this.lolist=erkag.body.message;
    }else{
        alert("rsx")
    }


             })
        }


    },
    components:{
       carousel
    }
}

</script>
<style lang="scss" scoped>


.wei{
   width: 20px;
   height: 20px;
}
</style>
